<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<form id="form_config_showedit" method="post" action="../../shiro/user/updatePassword.action">
    <table class="tab_form">
        <tr>
            <td><input class="easyui-textbox" name="password" data-options="label:'新密码:',required:true"
                       value=""/></td>
        </tr>
    </table>
</form>
<div style="text-align:center;padding:5px 0">
    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitForm()" style="width:80px">保存</a>
</div>
<script>
    function submitForm() {
        $('#form_config_showedit').form('submit', {
            success: function (data) {
                var json = eval('(' + data + ')');
                if (json.code == '10000') {
                    alert(json.message);
                } else {
                    //提示信息
                    alert(json.message);
                }
            }
        });
    }
</script>